package com.logwire.vo;import com.alibaba.excel.annotation.ExcelIgnore;import com.fasterxml.jackson.annotation.JsonFormat;import io.swagger.v3.oas.annotations.media.Schema;import lombok.Data;import org.springframework.beans.BeanUtils;import java.io.Serializable;import java.util.Date;/** * @author yhou * @ProjectName yhou-api * @description * @date 2022/11/08 4:54 PM */@Datapublic abstract class BaseVO<T> implements Serializable {	@Schema(hidden = true)	@ExcelIgnore	private Long id;	/**	 * 创建时间	 */	@Schema(description = "创建时间")	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")	private Date gmtCreate;	/**	 * 创建人	 */	@Schema(description = "创建人")	private String createBy;	public void toVO(T data) {		BeanUtils.copyProperties(data, this);	}}